import http from '@/common/js/httpRequest'
//获取公告列表
export function getNoticeList () {
  return http({
    method: 'get',
    url: '/api/sys/notice/list'
  })
}

//创建公告
export function addNotice (data) {
  return http({
    method: 'post',
    url: '/api/sys/notice/create',
    data:data
  })
}
